//
// Created by yunlang on 2021/12/8.
//

#ifndef FILEARCHIVER_TREENODE_H
#define FILEARCHIVER_TREENODE_H
struct TreeNode
{
    unsigned char val;
    unsigned int weight;
    TreeNode* left;
    TreeNode* right;
    TreeNode( unsigned char m_val, unsigned int m_weight ) : val(m_val),weight(m_weight),
                                                             left(nullptr),right(nullptr) {}
};
#endif //FILEARCHIVER_TREENODE_H
